﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Billing.Win
{
    public class SearchStatistics
    {
        int count;

        public int Count
        {
            get { return count; }
            set { count = value; }
        }
        PagerSettings pagerSettings;

        public PagerSettings PagerSettings
        {
            get { return pagerSettings; }
            set { pagerSettings = value; }
        }

        public SearchStatistics()
        {
        }

        public SearchStatistics(int count, int rowsPerPage, int currentPageNumber)
            : this(count, new PagerSettings(rowsPerPage, currentPageNumber))
        { }

        public SearchStatistics(int count, PagerSettings pagerSettings)
        {
            this.count = count;
            this.pagerSettings = pagerSettings;
        }
    }

    
}
